package bean;


public class Sport implements Comparable<Sport> {
	private int id;
	private String type;
	
	public Sport(){}
	
	public Sport(int id,String type){
		this.id = id;
		this.type = type;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public int compareTo(Sport arg0) {
		return this.id == arg0.getId() ? 1:0;
	}
	
}
